/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 3rem;
}

header h1 {
    color: #c41e3a;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

header p {
    color: #666;
    font-size: 1.1rem;
}

/* Input Section */
.input-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.input-wrapper {
    display: flex;
    gap: 1rem;
}

input[type="text"] {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

input[type="text"]:focus {
    outline: none;
    border-color: #c41e3a;
}

button {
    background-color: #c41e3a;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #a01830;
}

/* Results Section */
.results-section {
    display: none;
}

.results-section.active {
    display: block;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 2rem;
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.error-message small {
    display: block;
    margin-top: 0.5rem;
    color: #856404;
}

/* Name Cards */
.name-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.name-card h2 {
    color: #c41e3a;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.name-details {
    margin-top: 1rem;
}

.name-details dt {
    font-weight: bold;
    color: #666;
    margin-top: 0.5rem;
}

.name-details dd {
    margin-left: 1rem;
    color: #333;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 3rem;
    color: #666;
}
